package com.bdk.middle.member.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("m_wallet")
public class WalletEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("coin")
    private Integer coin;

    @TableField("last_exchange")
    private Integer lastExchange;

    @TableField("last_exchange_date")
    private LocalDateTime lastExchangeDate;

    @TableField("last_consume")
    private Integer lastConsume;

    @TableField("last_consume_date")
    private LocalDateTime lastConsumeDate;

    @TableField("create_date")
    private LocalDateTime createDate;

    @TableField("is_delete")
    private Integer isDelete;


}
